<template>
  <div class="sidebar">
    <ul>
      <li><router-link to="/">主页</router-link></li>
      <li><router-link to="/about">关于</router-link></li>
      <li><router-link to="/contact">联系我们</router-link></li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'SidebarComponent'
};
</script>

<style scoped>
.sidebar {
  background-color: #f4f4f4;
  padding: 15px;
  height: 100%;
}
.sidebar ul {
  list-style-type: none;
  padding: 0;
}
.sidebar ul li {
  margin: 10px 0;
}
</style>
